package org.onepiece.admin.common.config.nacos;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zhujianke@gaodun.com
 * @since 2022/9/8 23:00
 */
@Component
@Data
@NacosConfigurationProperties(dataId = "org.onepiece", groupId = "ONEPIECE_GROUP", autoRefreshed = true, type = ConfigType.JSON)
public class OnepieceConfig {

    private String username;

    private Boolean enableResponseBodyAdvice = Boolean.FALSE;
}
